<!--
 * @Author: ૮₍ ˙О˙₎ა
 * @Date: 2023-07-14 19:08:17
-->
<template>
  <div>
    测试
    <button @click="getValue">点击获取</button>
  </div>
</template>

<script lang="ts" setup>
import { reqLogin } from '@/api/user'
const getValue = async () => {
  const res = await reqLogin('admin', '111111')
  console.log(res.data.token)
}
</script>

<script lang="ts">
export default {
  name: 'VTest'
}
</script>

<style lang="scss" scoped></style>
